package cn.b.sky.mes.andon.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import cn.b.sky.common.model.ImeCommon;
import org.apache.commons.lang3.StringUtils;

/**
 * 
 * <strong>Title : AndonType.java<br></strong>
 * <strong>Package : cn.b.sky.mes.andon.model<br></strong>
 * <strong>Description : </strong>andon类型实体<br> 
 * <strong>Create on : 2016-9-18 下午4:30:46<br></strong>
 * <p>
 * @author JinQuan.Fu<br>
 * @version <strong>v1.0.0</strong><br>
 * <br>
 * <strong>修改历史:</strong><br>
 * 修改人|修改日期|修改描述<br>
 * -------------------------------------------<br>
 * <br>
 * <br>
 */
public class AndonType extends ImeCommon implements Serializable{
  /**
   * serialVersionUID
   */
  private static final long serialVersionUID = 1L;
  
  /**
   * 安灯类型编号
   */
  private String andonTypeCode;
  
  /**
   * 安灯类型描述
   */
  private String typeText;
  
  /**
   * 锁定标志
   */
  private Integer lockFlag = 0;
  
  /**
  * 触发状态颜色
  */
  
  private String touchColor;
  
  /**
   * 正常状态颜色
   */
  private String normalColor;
  
  private List<AndonTypeAttribute> andonAttributes=new ArrayList<AndonTypeAttribute>();

  public String getAndonTypeCode() {
    return StringUtils.upperCase(andonTypeCode);
  }

  public void setAndonTypeCode(String andonTypeCode) {
    this.andonTypeCode = andonTypeCode;
  }

  public String getTypeText() {
    return typeText;
  }

  public void setTypeText(String typeText) {
    this.typeText = typeText;
  }

  public Integer getLockFlag() {
    return lockFlag;
  }

  public void setLockFlag(Integer lockFlag) {
    this.lockFlag = lockFlag;
  }

  public String getTouchColor() {
    return touchColor;
  }

  public void setTouchColor(String touchColor) {
    this.touchColor = touchColor;
  }

  public String getNormalColor() {
    return normalColor;
  }

  public void setNormalColor(String normalColor) {
    this.normalColor = normalColor;
  }

  public List<AndonTypeAttribute> getAndonAttributes() {
    return andonAttributes;
  }

  public void setAndonAttributes(List<AndonTypeAttribute> andonAttributes) {
    this.andonAttributes = andonAttributes;
  }
  
}
